#   0xffffffff814a5d4e <+158>:	shl    $0x2,%eax
#   0xffffffff814a5d51 <+161>:	mov    %esi,%ecx
#   0xffffffff814a5d53 <+163>:	sub    0x6c(%rbx),%ecx

set $tmp=0
while $tmp<$cpu_number
  eval "tvariable $pc_cr_%d",$tmp
  eval "tvariable $pc_crtmp_%d",$tmp
  eval "tvariable $pc_c_%d",$tmp
  set $tmp=$tmp+1
end

trace *(tcp_v4_rcv+158)
  commands
    teval $pc_crtmp_0=$rdtsc
  end
trace *(tcp_v4_rcv+163)
  commands
    teval $pc_cr_0=$rdtsc-$pc_crtmp_0+$pc_cr_0
    teval $pc_c_0=$pc_c_0+1
  end

define showall
  set $tmp=0
  while $tmp<$cpu_number
    printf "CPU%d\n",$tmp
    eval "p $pc_c_%d",$tmp
    eval "p $pc_cr_%d/$pc_c_%d",$tmp,$tmp
    set $tmp=$tmp+1
  end
end
